﻿using System;
using System.Collections.Generic;
using System.Web.Mvc;

namespace DddCms.Presentation.MetaData
{
    [AttributeUsage(AttributeTargets.Property, AllowMultiple = true)]
    public class SortingAttribute : Attribute
    {
        /// <summary>
        /// Gets or sets the name.
        /// </summary>
        /// <value>
        /// The name.
        /// </value>
        public string Name { get; set; }


        /// <summary>
        /// Gets or sets the name of the property sort.
        /// </summary>
        /// <value>
        /// The name of the property sort.
        /// </value>
        public string PropertySortName { get; set; }
    }
}